package ext.tianma.project2.APQP.constants;


/**
 * 类名: ProjectConstant </br>
 * 包名: ext.tianma.project2.APQP.constants
 * 描述: APQP 项目常量类
 * @author xucr
 * 创建时间: 2020年8月13日
 * 发布版本: V1.0
 */
public class APQPProjectConstant
{

	/**
	
	//项目状态都在ContainerTeamManagedState类下
    public static final String ss1 = ContainerTeamManagedState.DEFINED.toString();  //规划中
    public static final String ss2 = ContainerTeamManagedState.RUNNING.toString();  //进行中
    public static final String ss3 = ContainerTeamManagedState.SUSPENDED.toString();//已暂停
    public static final String ss4 = ContainerTeamManagedState.COMPLETED.toString();//已完成
    public static final String ss5 = ContainerTeamManagedState.CANCELLED.toString();//已取消
    
	//活动状态都在PlannableState类下
	public static final String s1 = PlannableState.SUSPENDED.toString();//已暂停
	public static final String s2 = PlannableState.SCHEDULED.toString();//已安排
	public static final String s3 = PlannableState.COMPLETED.toString();//已完成
	public static final String s4 = PlannableState.INPROCESS.toString();//进行中
	
	*/	
	
	//Project2
//	public static final String PROJECT2 = "wt.projmgmt.admin.Project2";
	
	//APQP 项目类型
	public static final String APQP_PROJECT = "cn.tianma.APQP";
	
	//APQP 活动类
	public static final String APQP_PLANACTIVITY = "cn.tianma.APQPPlanActivity";
	
	//APQP 交付文档
	public static final String APQP_DELIVERYDOC = "cn.tianma.APQPDeliveryDoc";
	
	//part ： 原材料
	public static final String WTPART_RAWMATERIAL = "cn.tianma.RawMaterial";
	
	//APQP 项目模板
	public static final String APQP_TEMPLATE_NAME = "APQP项目模板";//APQP项目模板  General
	
	//分隔符
	public static final String SPLITVALUE = ";";
	
	//项目oid前缀
	public static final String PROJECTOR = "OR:wt.projmgmt.admin.Project2:";
	
	//APQP管理群组
	public static final String AQPQ_BUSINESS_ADMINISTRATOR = "APQP业务管理员";
	public static final String AQPQ_SQE = "SQE工程师";
	
	//isBoolean 是否达标、是否已经上载
	public static final String YES = "YES";
	public static final String NO = "NO";
	
	public static final String YES_VALUE = "是";
	public static final String NO_VALUE = "否";
	
	//APQP流程模板、生命周期名称
	public static final String APQP_WFPROCESSTEMPLATE_NAME = "APQP材评报告审批流程"; // APQP材评报告审批流程
	public static final String APQP_LIFECYCLETEMPLATE_NAME = "APQP材评报告生命周期";
	
	//WorkItem状态
	public static final String WORKITEM_STATUS_COMPLETED = "COMPLETED"; //已完成
	public static final String WORKITEM_STATUS_POTENTIAL = "POTENTIAL"; //待处理
	
	//APQP活动固定表格列
	public static final String[] APQP_PLANACTIVITY_FIXEDCOLUMN = {"物料类别","P/N","Supplier","SQE"};
	
	//活动的报告状态
	public static final String STANDARD_1 = "1"; //已达标，正常状态
	public static final String STANDARD_2 = "2"; //未达标，驳回状态
	public static final String STANDARD_3 = "3"; //已达标，并且审批通过（一般用于项目第二次审批时，展示之前流程已经审批通过的）
	
	//活动oid参数
	public static final String PLANACTIVITYOID = "planActivityOid";
	
	//Formdata状态
	public static final String FORMDATA_STATUS_POTENTIAL = "POTENTIAL";
	public static final String FORMDATA_STATUS_COMPLETED = "COMPLETED";
	
	
	//各个提示信息
	public static final String TIP1 = "您没有权限创建APQP,请联系系统管理员";
	public static final String TIP2 = "创建项目异常，请联系系统管理员";
	public static final String TIP3 = "当前APQP未完成，不允许修订";
	public static final String TIP4 = "当前任务无效";
	public static final String TIP5 = "该机型名称已经存在，不允许重复创建";
			
}
